package independence.testing.chronos
{
	import com.carlcalderon.arthropod.Debug;
	
	import independence.chronos.DayUtils;
	import independence.core.IndyObject;
	import independence.testing.ITest;

	public class ChronosTestRunner extends IndyObject implements ITest
	{
		public function ChronosTestRunner()
		{
			
		}
		
		public function run():void
		{
			log("Running Test on DayUtils");
			log("1 day is " + DayUtils.daysToMillis(1) + " milliseconds.");
			log("1 day is " + DayUtils.daysToSeconds(1) + " seconds.");
			log("1 day is " + DayUtils.daysToMinutes(1) + " minutes.");
			log("1 day is " + DayUtils.daysToHours(1) + " hours.");
			log("1 day is " + DayUtils.daysToWeeks(1) + " weeks.");
			log("1 day is " + DayUtils.daysToMonths(1) + " months.");
			log("1 day is " + DayUtils.daysToYears(1) + " years.");
			Debug.log("");
		}
		
		protected function log(message:*):void
		{
			Debug.log("ChronosTestRunner - " + message);	
		}
	}
}